package com.xxx.blog.base.dao;

import com.xxx.blog.base.domain.SysUser;
import com.xxx.blog.base.domain.SysUserCriteria;
import java.util.List;
import java.util.Set;

import org.apache.ibatis.annotations.Param;

public interface SysUserMapper {
    int deleteByExample(SysUserCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    List<SysUser> selectByExample(SysUserCriteria example);

    SysUser selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SysUser record, @Param("example") SysUserCriteria example);

    int updateByExample(@Param("record") SysUser record, @Param("example") SysUserCriteria example);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);
    
    /*以上为自动生成*/
    /*以下为手动编写*/
    
    Set<String> queryAllPerms();
}